<?
$posts=__template_get('posts');
?>
<div class="posts span-24">
<?if(count($posts)>0){
	foreach($posts as $id=>$post) {
				__template_set("id",$post->post_id);
				__template_set("post",$post);
				__template("entities/post/item");			
	}
}else{
	__("home","no_news");	
}
?>
</div>